<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			for(var i=0;i<10;i++){
				if(i==5){
					//break结束循环
					//continue结束本次循环
					continue;
				}
				console.log(i);
			}
		</script>
	</body>
</html>
